package view

var status = `{{define "status"}}
{{template "header" .}}
        <div class="col-md-12" role="main"><h3>系统状态</h3> <hr>

	        <div class="table-responsive"><table class="table table-bordered table-striped">
		           				
				<tbody>

				<tr>				
				<td>程序版本</td>			
				<td>{{.version}}&nbsp;</td>				
				</tr>	

				<tr>				
				<td>启动时间</td>			
				<td>{{formatdatetime .startupDate}}&nbsp;</td>				
				</tr>	

				<tr>				
				<td>互联网IP地址</td>			
				<td>{{.internetip}}&nbsp;</td>				
				</tr>

				<tr>				
				<td>歌曲下载数</td>			
				<td>{{.downloadSongCount}}&nbsp;</td>				
				</tr>				

				<tr>				
				<td>已接收</td>			
				<td>{{transfer .recvBytes}}&nbsp;</td>				
				</tr>

				<tr>				
				<td>已发送</td>			
				<td>{{transfer .sentBytes}}&nbsp;</td>				
				</tr>

				<tr>				
				<td>是否启用动态域名</td>			
				<td>{{ if .ddns_enable}}是{{else}}否{{end}}&nbsp;</td>				
				</tr>

				<tr>				
				<td>动态域名地址</td>			
				<td>{{.ddns_name}}&nbsp;</td>				
				</tr>

				<tr>				
				<td>动态域名密码</td>			
				<td>{{.ddns_key}}&nbsp;</td>				
				</tr>		

				

									

			</tbody>
			</table></div>
        		
		</div>
{{template "footer" .}}
{{end}}`
